package com.example.demo.dao;

import com.example.demo.entity.BannersEntity;
import com.example.demo.vo.BannersVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BannersDao {
    List<BannersEntity> getBanners();
    int addBanners(@Param("bannersVo")BannersVo bannersVo);
    int upBanners(@Param("bannersVo")BannersVo bannersVo);
    int delBanners(@Param("id")int id);
}
